﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CarEdge.Infrastructure.Dto.Response.Product
{
    /// <summary>
    /// 
    /// </summary>
    public class Package_Response_Dto
    {

        /// <summary>
        /// id
        /// </summary>
        public string? id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string?  name  { get; set; }
        /// <summary>
        /// 销量
        /// </summary>
        public int? salescount { get; set; }
        /// <summary>
        /// 套餐详情
        /// </summary>
        public List<package_Detail_Response_Dto>? children { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string? explain { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public double? total_price { get; set; }
        /// <summary>
        ///套餐 数量
        /// </summary>
        public int?  Stock{ get; set; }
        /// <summary>
        /// 折扣
        /// </summary>
        public double? Discount { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public  string? createtime { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public string? begintime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public string? endtime { get; set; }
        /// <summary>
        /// 是否上架
        /// </summary>
        public int? isActive { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public  string? desc { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string[]? pimgs { get; set; }
        /// <summary>
        /// 套餐内的产品
        /// </summary>
        public string[]? childrenpro { get; set; }
        /// <summary>
        /// 时长
        /// </summary>
        public int? Duration { get; set; }
        /// <summary>
        /// 时长
        /// </summary>
        public int? time { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? count { get; set; }
        /// <summary>
        /// 打折前
        /// </summary>
        public double? total_price2 { get; set; }
        /// <summary>
        /// 优惠
        /// </summary>
        public double? discountmoney { get; set; }
        /// <summary>
        /// 总优惠
        /// </summary>
        public double? sumdiscount { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public double? sum { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string? img { get; set; }
    }
}
